package com.shigui.news.service;

import java.util.List;

import com.shigui.news.model.Category;
import com.shigui.news.model.User;

public interface CategoryService {

	Category selectById(Integer cateId);
	Category select(Integer cateId,String sql);
	List<Category> select(String sql, Integer page, Integer count);
	void insert(Category category);
	void update(User user,Category category);
	void delete(User user,Category category);
	List<Category> select();
}
